// 菜单加载
function adminMenu(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-auth-provider/menu/get?roleId="+query,"get","",SuccessFunc,FailedFunc);
    //slAjax("/menu/get?roleId="+query,"get","",SuccessFunc,FailedFunc);
}

// 菜单数据加载
function loadAllMenu(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-auth-provider/menu/getAllMenu","get","",SuccessFunc,FailedFunc);
    //slAjax("/menu/get?roleId="+query,"get","",SuccessFunc,FailedFunc);
}

// 菜单更新+创建
function updateMenu(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-auth-provider/menu/updateRoleMenu","post",query,SuccessFunc,FailedFunc);
    //slAjax("/menu/get?roleId="+query,"get","",SuccessFunc,FailedFunc);
}